package com.easyUploader.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.easyUploader.entity.dao.FileStorage;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 文件存储 Mapper 接口
 * </p>
 *
 * @author 大忽悠
 * @since 2022年10月29日
 */
public interface FileStorageMapper extends BaseMapper<FileStorage> {
    @Select("SELECT * FROM file_storage WHERE (path LIKE '${path}%')")
    List<FileStorage> customSelectList(@Param("path") String defaultHeadImg);
    //SELECT * FROM file_storage WHERE (path LIKE 'C:\\\\Users\\\\zdh\\\\Desktop\\\\cangku\\\\private\\\\defaultHeadImg%');
}
